package com.liming.common.pojo.vo.order.mini;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author liming
 * @date 2025/4/2
 */
@Data
@Schema(description = "小程序 - 订单项")
public class MiniOrderItemVO {

    @Schema(description = "订单项ID")
    private Long id;

    @Schema(description = "商品ID")
    private Long productId;

    @Schema(description = "商品名称")
    private String productName;

    @Schema(description = "商品图片")
    private String productImage;

    @Schema(description = "商品数量")
    private Integer quantity;

    @Schema(description = "商品发生单价")
    private BigDecimal realPrice;

    @Schema(description = "商品单价")
    private BigDecimal price;
}
